<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
    <head>
        <%@include file="common/head.jspf" %>
    </head>
    <body class="sb-l-o sb-r-c" data-menu="" data-list="#li_dashboard">

        <!-- 主体内容开始 -->
        <div id="main">

            <!--侧边导航栏-->
            <%@include file="common/sidebar.jspf" %>

            <!-- Start: Content-Wrapper -->
            <section id="content_wrapper">

                <!-- 顶部导航 -->
                <header id="topbar">
                    <div class="topbar-left">
                        <ol class="breadcrumb">
                            <li class="crumb-active">
                                <span>软擎科技</span>
                            </li>
                            <!-- 当前页 -->
                            <li class="crumb-trail">工作面板</li>
                        </ol>
                    </div>
                    <div class="topbar-right">
                        <!-- 登录信息 -->
                        <%@include file="common/session.jspf" %>
                    </div>
                </header>
                <!-- 顶部导航结束 -->

                <!-- 页面内容开始 -->
                <section id="content" class="animated fadeIn">

                    <div class="row">
                        <div class="col-md-4">
                            <div class="panel mb20">
                                <div class="panel-heading">
                                    <span class="panel-title fw700">
                                        <i class="fa fa-bar-chart-o"></i>平台信息统计</span>
                                    <div class="widget-menu pull-right">
                                        <a class="btn btn-default btn-xs" href="" role="button"><i class="fa fa-plus text-muted-lighter mr5"></i>更多</a>
                                    </div>
                                </div>
                                <div class="panel-body pn">
                                    <table class="table mbn tc-med-1 tc-bold-last tc-fs13-last">
                                        <thead>
                                            <tr class="hidden">
                                                <th>标的名称</th>
                                                <th>金额</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td><span class="glyphicons glyphicons-user_add text-info fs14 mr10"></span>今日注册人数</td>
                                                <td id="regCount"><i class="fa fa-spin fa-spinner"></i></td>
                                            </tr>
                                            <tr>
                                                <td><span class="glyphicon glyphicon-log-in text-info fs14 mr10"></span>今日登录人数</td>
                                                <td id="loginCount"><i class="fa fa-spin fa-spinner"></i></td>
                                            </tr>
                                            <tr>
                                                <td><span class="glyphicons glyphicons-rss text-info fs14 mr10"></span>今日发布标的数</td>
                                                <td id="newLoanCount"><i class="fa fa-spin fa-spinner"></i></td>
                                            </tr>
                                            <tr>
                                                <td><span class="glyphicons glyphicons-circle_plus text-info fs14 mr10"></span>今日充值总额</td>
                                                <td id="totalDeposit"><i class="fa fa-spin fa-spinner"></i></td>
                                            </tr>
                                            <tr>
                                                <td><span class="glyphicons glyphicons-circle_minus text-info fs14 mr10"></span>今日提现总额</td>
                                                <td id="totalWithdraw"><i class="fa fa-spin fa-spinner"></i></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>  
                        </div>
                        <div class="col-md-8">
                            <div class="panel mb20">
                                <div class="panel-heading">
                                    <span class="panel-title fw700">
                                        <i class="fa fa-legal"></i>待审核标的<span class="badge bg-light darker ml5" id="size_of_PROPOSED"></span></span>
                                    <div class="widget-menu pull-right">
                                        <a class="btn btn-default btn-xs" href="loan/list/proposed" role="button" target="_blank"><i class="fa fa-plus text-muted-lighter mr5"></i>更多</a>
                                    </div>
                                </div>
                                <div class="panel-body pn">
                                    <table class="table mbn tc-med-1 tc-bold-last tc-fs13-last">
                                        <thead>
                                            <tr class="hidden">
                                                <th>标的名称</th>
                                                <th>金额</th>
                                            </tr>
                                        </thead>
                                        <tbody id="PROPOSED">
                                            <tr>
                                                <td><i class="fa fa-circle fs8 text-system pr15"></i><span>暂无待审核标的</span></td>
                                                <td></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <div class="panel mb20">
                                <div class="panel-heading">
                                    <span class="panel-title fw700">
                                        <i class="fa fa-clock-o"></i>待排期标的<span class="badge bg-light darker ml5" id="size_of_APPROVED"></span></span>
                                    <div class="widget-menu pull-right">
                                        <a class="btn btn-default btn-xs" href="loan/list/approved" role="button" target="_blank"><i class="fa fa-plus text-muted-lighter mr5"></i>更多</a>
                                    </div>
                                </div>
                                <div class="panel-body pn">
                                    <table class="table mbn tc-med-1 tc-bold-last tc-fs13-last">
                                        <thead>
                                            <tr class="hidden">
                                                <th>标的名称</th>
                                                <th>金额</th>
                                            </tr>
                                        </thead>
                                        <tbody id="APPROVED">
                                            <tr>
                                                <td><i class="fa fa-circle fs8 text-info pr15"></i><span>暂无待排期标的</span></td>
                                                <td></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>

                            <div class="panel mb20">
                                <div class="panel-heading">
                                    <span class="panel-title fw700">
                                        <span class="glyphicons glyphicons-clock"></span>待发布标的<span class="badge bg-light darker ml5" id="size_of_SCHEDULED"></span></span>
                                    <div class="widget-menu pull-right">
                                        <a class="btn btn-default btn-xs" href="loan/list/scheduled" role="button" target="_blank"><i class="fa fa-plus text-muted-lighter mr5"></i>更多</a>
                                    </div>
                                </div>
                                <div class="panel-body pn">
                                    <table class="table mbn tc-med-1 tc-bold-last tc-fs13-last">
                                        <thead>
                                            <tr class="hidden">
                                                <th>标的名称</th>
                                                <th>金额</th>
                                            </tr>
                                        </thead>
                                        <tbody id="SCHEDULED">
                                            <tr>
                                                <td><i class="fa fa-circle fs8 text-warning pr15"></i><span>暂无待发布标的</span></td>
                                                <td></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>

                            <div class="panel mb20">
                                <div class="panel-heading">
                                    <span class="panel-title fw700">
                                        <i class="fa fa-rocket"></i>筹款中标的<span class="badge bg-light darker ml5" id="size_of_OPEN"></span></span>
                                    <div class="widget-menu pull-right">
                                        <a class="btn btn-default btn-xs" href="loan/list/open" role="button" target="_blank"><i class="fa fa-plus text-muted-lighter mr5"></i>更多</a>
                                    </div>
                                </div>
                                <div class="panel-body pn">
                                    <table class="table mbn tc-med-1 tc-bold-last tc-fs13-last">
                                        <thead>
                                            <tr class="hidden">
                                                <th>标的名称</th>
                                                <th>金额</th>
                                            </tr>
                                        </thead>
                                        <tbody id="OPEN">
                                            <tr>
                                                <td><i class="fa fa-circle fs8 text-success pr15"></i><span>暂无筹款中标的</span></td>
                                                <td></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>

                            <div class="panel mb20">
                                <div class="panel-heading">
                                    <span class="panel-title fw700">
                                        <i class="fa fa-lock"></i>待放款标的<span class="badge bg-light darker ml5" id="size_of_FINISHED"></span></span>
                                    <div class="widget-menu pull-right">
                                        <a class="btn btn-default btn-xs" href="loan/list/finished" role="button" target="_blank"><i class="fa fa-plus text-muted-lighter mr5"></i>更多</a>
                                    </div>
                                </div>
                                <div class="panel-body pn">
                                    <table class="table mbn tc-med-1 tc-bold-last tc-fs13-last">
                                        <thead>
                                            <tr class="hidden">
                                                <th>标的名称</th>
                                                <th>金额</th>
                                            </tr>
                                        </thead>
                                        <tbody id="FINISHED">
                                            <tr>
                                                <td><i class="fa fa-circle fs8 text-alert pr15"></i><span>暂无待放款标的</span></td>
                                                <td></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>

                            <div class="panel mb20">
                                <div class="panel-heading">
                                    <span class="panel-title fw700">
                                        <span class="fa fa-sun-o fs14"></span>已流标标的<span class="badge bg-light darker ml5" id="size_of_FAILED"></span></span>
                                    <div class="widget-menu pull-right">
                                        <a class="btn btn-default btn-xs" href="loan/list/failed" role="button" target="_blank"><i class="fa fa-plus text-muted-lighter mr5"></i>更多</a>
                                    </div>
                                </div>
                                <div class="panel-body pn">
                                    <table class="table mbn tc-med-1 tc-bold-last tc-fs13-last">
                                        <thead>
                                            <tr class="hidden">
                                                <th>标的名称</th>
                                                <th>金额</th>
                                            </tr>
                                        </thead>
                                        <tbody id="FAILED">
                                            <tr>
                                                <td><i class="fa fa-circle fs8 text-warning pr15"></i><span>暂无已流标标的</span></td>
                                                <td></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
                <!-- 页面内容结束 -->

            </section>
        </div>
        <!-- 主体内容结束 -->

        <div id="loanTemplate" class="hidden">
            <tr>
                <td><i class="fa fa-circle iconColor fs8 pr15"></i><span>loanTitle</span></td>
                <td>loanAmount</td>
            </tr>
        </div>
        <!-- 公共函数 -->
        <%@include file="common/scripts.jspf" %>
        <script type="text/javascript" src="${rootPath}/js/pages/dashboard.js"></script>
    </body>
</html>
